package com.zzx.shiro.dao;

import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * (Permission)表数据库访问层
 *
 * @author makejava
 * @since 2021-09-15 15:14:33
 */
public interface PermissionDao {

    /**
     * 根据用户名获取用户权限
     *
     * @param username
     * @return
     */
    Set<String> queryByUserName(@Param("username") String username);

}

